//
//  M13UserDefaults.m
//  ELife
//
//  Created by feng lu on 11-5-31.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import "M13UserDefaults.h"


@implementation M13UserDefaults


+(void) setUserDefaults:(id)myUD defaultName:(NSString*)name
{
    NSUserDefaults *TextFieldV = [NSUserDefaults standardUserDefaults];
	[TextFieldV setValue:myUD forKey:name];
}


+(NSArray*) getUserDefaultsArray:(NSString*)name
{
    NSUserDefaults *TextFieldV = [NSUserDefaults standardUserDefaults];
	return [TextFieldV arrayForKey:name];
}

@end
